<?php

class MY_Controller extends CI_Controller {

    var $_data = FALSE;
    var $container = 'container';
    var $_config = array();

    public function __construct() {
        parent::__construct();
        $this->_data['captcha_img'] = FALSE;
        $this->_data['title'] = 'Ticket Online';
    }

    function display_view($path) {
        $this->before_render();
        $this->_data['load_path'] = $path;
        $this->load->view($this->container, $this->_data);
    }

    function display_admin($path) {
        $this->before_render();
        $this->_data['load_path'] = $path;
        $this->load->view('admin/container', $this->_data);
    }

    function before_render() {
        
    }

}